package cn.cs.mapper;

import cn.cs.pojo.ExpensesExplain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ExpensesExplainMapper {

    public ExpensesExplain getExpensesExplainById(@Param(value = "id") String id) throws Exception;

    public List<ExpensesExplain> getExpensesExplainListByMap(Map<String, Object> param) throws Exception;

    public Integer getExpensesExplainCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertExpensesExplain(ExpensesExplain expensesExplain) throws Exception;

    public Integer updateExpensesExplain(ExpensesExplain expensesExplain) throws Exception;

    public Integer deleteExpensesExplainById(@Param(value = "id") String id) throws Exception;

    public Map<String, Object> getAreaById(@Param(value = "id") String id) throws Exception;

    public Map<String, Object> getFaultTypeById(@Param(value = "id") String id) throws Exception;
}
